package com.zjp.pojo;

import lombok.ToString;

import java.util.Date;
@ToString
public class Healthreport {
    private Integer id;

    private Date reportingtime;

    private String cough;

    private String temperature;

    private String departurearea;

    private String arrivalarea;

    private String address;

    private Long userid;

    public Healthreport(Integer id, Date reportingtime, String cough, String temperature, String departurearea, String arrivalarea, String address, Long userid) {
        this.id = id;
        this.reportingtime = reportingtime;
        this.cough = cough;
        this.temperature = temperature;
        this.departurearea = departurearea;
        this.arrivalarea = arrivalarea;
        this.address = address;
        this.userid = userid;
    }

    public Healthreport() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getReportingtime() {
        return reportingtime;
    }

    public void setReportingtime(Date reportingtime) {
        this.reportingtime = reportingtime;
    }

    public String getCough() {
        return cough;
    }

    public void setCough(String cough) {
        this.cough = cough == null ? null : cough.trim();
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature == null ? null : temperature.trim();
    }

    public String getDeparturearea() {
        return departurearea;
    }

    public void setDeparturearea(String departurearea) {
        this.departurearea = departurearea == null ? null : departurearea.trim();
    }

    public String getArrivalarea() {
        return arrivalarea;
    }

    public void setArrivalarea(String arrivalarea) {
        this.arrivalarea = arrivalarea == null ? null : arrivalarea.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }
}